package top.bfylu.facade;

/**
 * 包名: top.bfylu.facade
 * 创建时间: 2023/2/22
 *
 * @author bfy
 * @version 1.0.0
 * <p>
 * 描述:
 * Email: bfyjian@gmail.com
 **/
public class PopcornPopper {
    String description;

    public PopcornPopper(String description) {
        this.description = description;
    }

    public void on() {
        System.out.println(description + " on");
    }

    public void off() {
        System.out.println(description + " off");
    }

    public void pop() {
        System.out.println(description + " popping popcorn!");
    }

    public String toString() {
        return description;
    }
}
